<?php
function rss_transform($comment) {
    return array('title' => $comment['Comment']['name'],
                        'link' => '/view/'.$comment['Post']['slug'].'/#comment-block-'.$comment['Comment']['comment_id'],
                        'guid' => '/view/'.$comment['Post']['slug'].'/#comment-block-'.$comment['Comment']['comment_id'],
                        'description' => '<p>'.strip_tags($comment['Comment']['description']).'</p><p><a href="http://freelogo.web.id/view/'.$comment['Post']['slug'].'"><img alt="Many times with you" src="/logo/img/thumbs/'.$comment['Post']['Path']['name'].$comment['Post']['image'].'_thumb.jpg"/></a></p>',
                        'pubDate' => $comment['Comment']['created'],
    );
}

echo $rss->items($comments, 'rss_transform');

?>